getFrameWidth

abstract fun getFrameWidth(block: DesignBlock): Float

Get a block's layout width. The layout width is only available after an internal update loop, which may not happen immediately.

Return

the layout width.

Parameters

block

the block to query.